package com.base.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;

import com.base.mapper.voipmapper.AttributionsMapper;
import com.base.po.voip.Attributions;
import com.base.po.voip.AttributionsExample;
import com.base.service.AttributionsService;
import org.springframework.stereotype.Service;

@Service("attributionsService")
public class AttributionsServiceImpl implements AttributionsService {
	@Autowired
	AttributionsMapper attributionsMapper;

	@Override
	public int countByExample(AttributionsExample example) {
		return attributionsMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(AttributionsExample example) {
		return attributionsMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		return attributionsMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Attributions record) {
		return attributionsMapper.insert(record);
	}

	@Override
	public int insertSelective(Attributions record) {
		return attributionsMapper.insertSelective(record);
	}

	@Override
	public List<Attributions> selectByExample(AttributionsExample example) {
		return attributionsMapper.selectByExample(example);
	}

	@Override
	public Attributions selectByPrimaryKey(String id) {
		return attributionsMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(Attributions record, AttributionsExample example) {
		return attributionsMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(Attributions record, AttributionsExample example) {
		return attributionsMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(Attributions record) {
		return attributionsMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Attributions record) {
		return attributionsMapper.updateByPrimaryKey(record);
	}

}
